#pragma once
#include <string.h>
#include <stdio.h>
#include <errno.h>

/*When the debug define is present print more information on error othwerwize use native perror function*/
#ifdef DEBUG
#define myperror(_str_)	printf(__FILE__ ":%i %s:%s\n" , __LINE__ , _str_ , strerror(errno)) 
#else
#define myperror(_str_) perror(_str_)
#endif



